#ifndef SCORE_BOARD_H
#define SCORE_BOARD_H

#include "Object.h"

#define NUMBER_SPRITE_WIDTH 15
#define NUMBER_SPRITE_HEIGHT 16

#define ZOOM_TIME 0.1f
#define ZOOM_MIN 1.0f
#define ZOOM_MAX 2.0f

enum SCORE_BOARD_STATE
{
	SBS_NORMAL,
	SBS_ZOOM_IN,
	SBS_ZOOM,
	SBS_ZOOM_OUT,
};

class Texture;
class ZoomEffect;

class ScoreBoard:public Object
{
private:
	int score;
	float zoomDelay;
	Texture* texNum;
	ZoomEffect* zoomEffect;

public:
	ScoreBoard(Texture* texNum, int x, int y);
	void AddScore(int scoreAdd);
	void Update();
	void Render();
	void SetState(int state);
	void Reset();
};

#endif